ETCDCTL_API=3 etcdctl --cacert={{ PKI_PATH }}/{{ CA_SELF_SIGNED_CERTIFICATE }} --cert={{ PKI_PATH }}/{{ ETCD_SELF_SIGNED_CERTIFICATE }} --key={{ PKI_PATH }}/{{ ETCD_PRIVATE_KEY }} --endpoints="{% for item in groups['etcd'] -%}
    https://{{ item }}:2379{% if not loop.last %},{% endif %}
{%- endfor %}" -w table endpoint status
ETCDCTL_API=3 etcdctl --cacert={{ PKI_PATH }}/{{ CA_SELF_SIGNED_CERTIFICATE }} --cert={{ PKI_PATH }}/{{ ETCD_SELF_SIGNED_CERTIFICATE }} --key={{ PKI_PATH }}/{{ ETCD_PRIVATE_KEY }} --endpoints="{% for item in groups['etcd'] -%}
    https://{{ item }}:2379{% if not loop.last %},{% endif %}
{%- endfor %}" -w table endpoint health
